package com.thinkgem.jeesite.common.constant;

public class Constant {
	
	// 判断名字是否是中文并以英文逗号隔开
	public static final String REG_NAME_COMMA = "^([0-9|a-z|A-Z|\u4e00-\u9fa5])+(,[0-9|a-z|A-Z|\u4e00-\u9fa5]+)*$";
	public static final String REG_MOBILE_PATTERN = "^1[3-9]{1}[0-9]{9}";
	
	public static final class Mdict{
		// 多级子弹根目录
		public static final String MDICT_ROOT_TYPE = "root";
		// 多级字典type前缀
		public static final String MDICT_COURSE_TYPE_PREFIX = "course_type_";
	}
	
	public static final class Dict{
		// 字典组别Type
		public static final String DICT_GROUP_TYPE = "course_group_type";
		// 字典参赛方式Type
		public static final String DICT_JOIN_TYPE = "course_join_type";
	}
	
	public static final class Order{
		// 报名订单状态，无效（订单取消后的状态）
		public static final String EMS_ORDER_STATUS_INVALID = "-1";
		// 报名订单状态，待支付
		public static final String EMS_ORDER_STATUS_TOPAY = "0";
		// 报名订单状态，已支付
		public static final String EMS_ORDER_STATUS_SUCCESS = "1";
		// 报名订单状态，支付失败
		public static final String EMS_ORDER_STATUS_FAIL = "2";
	}
	
	public static final class Course{
		// 报名参赛类型：个人
		public static final String COURSE_JOIN_TYPE_ONE = "1";
		// 报名参赛类型：组合
		public static final String COURSE_JOIN_TYPE_PAIR = "2";
		// 报名参赛类型：集体
		public static final String COURSE_JOIN_TYPE_MULTI = "3";
		
		// 英语风采展示活动sign
		public static final String COURSE_SIGN_ENG = "eng";
		// 艺术英才展示活动sign
		public static final String COURSE_SIGN_ART = "art";
		// 书法美术展示活动sign
		public static final String COURSE_SIGN_PAINT = "paint";
	}
	
	public static final class Site{
		// 微信站点id
		public static final String SITE_ID_FAULT= "1";
		// 微信站点id
		public static final String SITE_ID_WEIXIN = "3";
	}
	
	public static final class WeiXin{
		// 微信文章列表页面
		public static final String FRONTLIST_ARTICLE_WEIXIN= "frontList_article_weixin";
		// 微信图片列表页面
		public static final String FRONTLIST_PIC_WEIXIN= "frontList_pic_weixin";
		// 微信文章详情页面
		public static final String FRONTVIEWARTICLE_ARTICLE_WEIXIN= "frontViewArticle_view_weixin";
	}
	
	public static final class Award{
		// 奖品领取状态已领取
		public static final String AWARD_STAUTS_YES = "1";
		// 奖品领取状态未领取
		public static final String AWARD_STAUTS_NO= "0";
		
	}
	
	public static final class Join{
		// 报名信息导出时，最多导出条数
		public static final int JOIN_EXPORT_MOST_ROWS = 5000;
	}
}
